Skip to content

Explicitly declare dependencies#91

Merged
NotMyFault merged 2 commits intojenkinsci:masterfrom
MarkEWaite:explicitly-declare-dependencies
Jan 16, 2026
Merged

Explicitly declare dependencies#91
NotMyFault merged 2 commits intojenkinsci:masterfrom
MarkEWaite:explicitly-declare-dependencies

Conversation

@MarkEWaite
Copy link
Contributor

Explicitly declare dependencies

Reduce the risk that new dependencies will be injected accidentally from a dependency update.

The developer documentation provides more details.

Originally added to Maven hpi plugin in pull request:

Testing done

  • Confirmed that automated tests pass

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes

Reduce the risk that new dependencies will be injected accidentally from
a dependency update.

The developer documentation provides more details at
https://www.jenkins.io/doc/developer/plugin-development/dependencies-and-class-loading/#build-time-validation-of-bundled-artifacts

Originally added to Maven hpi plugin in pull request:

* jenkinsci/maven-hpi-plugin#771

Testing done

* Confirmed that automated tests pass
@MarkEWaite MarkEWaite requested a review from a team as a code owner January 10, 2026 15:32
@MarkEWaite
Copy link
Contributor Author

MarkEWaite commented Jan 15, 2026

@NotMyFault could you review and merge this pull request? It is part of the effort to make explicitly declared dependencies an opt-out configuration of a future release of the plugin parent pom.

@NotMyFault
Copy link
Member

Could you resolve the conflicts, please?

@NotMyFault NotMyFault enabled auto-merge (squash) January 16, 2026 07:28
auto-merge was automatically disabled January 16, 2026 13:45

Head branch was pushed to by a user without write access

@NotMyFault NotMyFault merged commit 5b5edde into jenkinsci:master Jan 16, 2026
17 checks passed
@MarkEWaite MarkEWaite deleted the explicitly-declare-dependencies branch January 16, 2026 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants